package com.yxe.mapper;

import com.yxe.pojo.House;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyl
 * @since 2022-12-10
 */
@Repository
public interface HouseMapper extends BaseMapper<House> {
    List<House> findHouse(House house);

    List<House> findAll();

    List<House> findHouseByName(String name);

    void addContract(House house);
}
